Skip to content

Support GHC 9.6 - #557

Closed
simonmar wants to merge 1 commit into
facebookincubator:mainfrom
simonmar:ghc-9.6
Closed

Support GHC 9.6#557
simonmar wants to merge 1 commit into
facebookincubator:mainfrom
simonmar:ghc-9.6

Conversation

@simonmar

@simonmar simonmar commented Jul 3, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 3, 2025
@netlify

netlify Bot commented Jul 3, 2025

Copy link
Copy Markdown

Deploy Preview for fb-oss-glean canceled.

Name Link
🔨 Latest commit e1a6bdd
🔍 Latest deploy log https://app.netlify.com/projects/fb-oss-glean/deploys/68741a78cd909f000862b2fb

@simonmar
simonmar force-pushed the ghc-9.6 branch 4 times, most recently from a28e9ad to e78a8f7 Compare July 10, 2025 07:08
@simonmar
simonmar force-pushed the ghc-9.6 branch 3 times, most recently from addf2a2 to 8f17944 Compare July 10, 2025 11:40
@simonmar
simonmar marked this pull request as ready for review July 10, 2025 14:13
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@pepeiborra has imported this pull request. If you are a Meta employee, you can view this in D78210367.

@pepeiborra

Copy link
Copy Markdown
Contributor

Please stack this one on top of "Enable -Werror"

@simonmar

Copy link
Copy Markdown
Collaborator Author

Please stack this one on top of "Enable -Werror"

done

@pepeiborra pepeiborra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to fix the dodgy imports or should we make it a warning?

Comment thread cabal.project Outdated
constraints: entropy < 0.4.1.9
-- develop with -Werror on, for consistency with internal Meta CI.
program-options
ghc-options: -Werror -Wwarn=dodgy-imports

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Internally, dodgy-imports is an error not a warning.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah ok, unfortunately I'll have to use some #ifdefs because the Prelude exports changed between GHC versions. Really -Wwarn=dodgy-imports is the right thing because it avoids the need for CPP, but it's not a big deal.

Comment thread glean/db/Glean/Database/Env.hs Outdated

module Glean.Database.Env ( withDatabases ) where

import Prelude hiding (liftA2)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR fails internal CI due to this hiding directive

@simonmar
simonmar force-pushed the ghc-9.6 branch 3 times, most recently from e65be1e to 59e975a Compare July 13, 2025 14:55
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@pepeiborra has imported this pull request. If you are a Meta employee, you can view this in D78210367.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants